@import "common.css";
/* 弹性布局和rem布局区域 */
/* 推荐好货 */
.show-box {
  display: flex;
  margin: 10px;
  box-sizing: border-box;
  overflow: hidden;
  background-color: #fff;
  padding: 0.325rem 0 0.25rem 0.5rem;
}
.show-box .show-item {
  flex: 1;
}
.show-box .show-item {
  line-height: 0.8;
}
.show-box .show-item strong {
  font-weight: 700;
  font-size: 0.6rem;
  line-height: 1.125rem;
  display: inline-block;
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.show-box .show-item:nth-child(1) strong {
  opacity: 0;
}
.show-box .show-item:nth-child(4) strong {
  opacity: 0;
}
.show-box .show-item p {
  font-size: 0.49rem;
  line-height: 0.825rem;
  height: 0.75rem;
}
.show-box .show-item img {
  display: block;
  width: 2rem;
  height: 2rem;
  margin: 0.275rem 0.3rem 0;
}
/* 限时秒杀 */
.seckill {
  margin: 10px;
  background-color: #fff;
  box-shadow: 0 1px 1px #f2f2f2;
  background: #fff;
  border-radius: 0.6rem;
  overflow: hidden;
}
.seckill .sec-top {
  display: flex;
  width: 100%;
  height: 1.5rem;
  justify-content: space-between;
  background: url(../images/seckill-bg.png) no-repeat;
  background-size: contain;
}
.seckill .sec-top .sec-left {
  display: flex;
  align-items: center;
}
.seckill .sec-top .sec-left .sec-title {
  height: 1.35rem;
  line-height: 1.35rem;
  margin-top: 0.8rem;
  margin-left: 0.3rem;
  font-size: 0.5rem;
  color: #333;
  letter-spacing: 0;
  line-height: 1.2;
}
.seckill .sec-top .sec-left .sec-timmer {
  display: flex;
  align-items: center;
  height: 0.9rem;
  line-height: 0.9rem;
}
.seckill .sec-top .sec-left .sec-timmer .sec-order {
  display: flex;
  position: relative;
  height: 100%;
  margin-right: 0.2rem;
  padding-right: 0.9rem;
  padding-left: 0.25rem;
  color: #ff2727;
  font-size: 0.65rem;
}
.seckill .sec-top .sec-left .sec-timmer .sec-order::after {
  position: absolute;
  content: '';
  display: block;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 0.775rem;
  width: 0.775rem;
  background-image: url(../images/seckill-time-to.png);
  background-repeat: no-repeat;
  background-size: contain;
}
.seckill .sec-top .sec-left .sec-timmer .sec-time-liver {
  display: flex;
  color: #fa2c19;
}
.seckill .sec-top .sec-left .sec-timmer .sec-time-liver span {
  font-weight: 700;
  margin: 0 2px;
}
.seckill .sec-top .sec-left .sec-timmer .jd-sec-m {
  width: 0.8rem;
  text-align: center;
  line-height: 1rem;
  color: #fff;
  border-radius: 0.2rem;
  background-image: linear-gradient(-140deg, #ff6152, #fa2c19);
}
.seckill .sec-top .sec-right {
  height: 1.5rem;
  line-height: 1.5rem;
  color: #fa2c19;
}
.seckill .sec-top .sec-right .sec-morelink {
  display: flex;
  align-items: center;
  font-size: 0.6rem;
}
.seckill .sec-top .sec-right i {
  display: block;
  width: 0.6rem;
  height: 0.6rem;
  margin: 0 5px;
  background: url(../images/arrow_rt.png) no-repeat;
  background-size: 100%;
}
.seckill .sec-list {
  display: flex;
  padding: 0 10px;
}
.seckill .sec-list .sec-item {
  flex: 1;
}
.seckill .sec-list .sec-item img {
  width: 100%;
}
.seckill .sec-list .sec-item .sec-price {
  text-align: center;
  font-weight: 700;
  color: #f63515;
}
.seckill .sec-list .sec-item .kill-price {
  text-align: center;
  color: #999;
}
.seckill .sec-list .sec-item hr {
  position: relative;
  width: 40px;
  top: -19px;
  left: 3px;
}
/* 推荐商品 */
.suggestion-list {
  display: flex;
  flex-wrap: wrap;
  margin: 10px;
  background-color: #fff;
  border-radius: 0.6rem;
  overflow: hidden;
}
.suggestion-list .suggestion-item {
  width: 50%;
  padding: 0.325rem 0 0.25rem;
}
.suggestion-list .suggestion-item .goods-itext {
  padding-left: 0.45rem;
}
.suggestion-list .suggestion-item .goods-itext span {
  color: #333;
  font-weight: 700;
  font-size: 0.6rem;
  line-height: 1.2rem;
}
.suggestion-list .suggestion-item .goods-itext p {
  margin: 0;
  padding: 0;
  color: #666771;
}
.suggestion-list .suggestion-item .goods-iimage {
  padding: 0 0.15rem;
}
.suggestion-list .suggestion-item .goods-iimage img {
  height: 2.7rem;
  margin: 0.275rem 0.3rem 0;
}
/* 商品栏目 */
.j-rec-list {
  display: flex;
  width: 14.04rem;
  flex-wrap: wrap;
  margin: 0 auto;
  justify-content: space-around;
}
.j-rec-list .j-rec-item {
  height: 10.84rem;
  width: 6.64rem;
  line-height: 0.72rem;
  padding: 0 0 0.28rem 0;
  margin: 0 0.12rem;
  background: #fff;
  margin-bottom: 0.5rem;
  border-radius: 0.6rem;
  overflow: hidden;
}
.j-rec-list .j-rec-item img {
  width: 100%;
}
.j-rec-list .j-rec-item .j-rec-product-text {
  box-sizing: border-box;
  height: 31px;
  line-height: 16px;
  font-size: 13px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #1a1a1a;
  margin-top: 5px;
  margin-bottom: 3px;
  padding: 0 4px;
}
.j-rec-list .j-rec-item .j-rec-product-info {
  display: flex;
  position: relative;
  margin: 10px 0;
  align-items: center;
}
.j-rec-list .j-rec-item .j-rec-product-info span:nth-child(1) {
  color: #fa2c19;
  font-size: 16px;
}
.j-rec-list .j-rec-item .j-rec-product-info span:nth-child(2) {
  display: block;
  position: relative;
  height: 14px;
  line-height: 15px;
  text-align: center;
  border: 1px solid #fa2c19;
  font-size: 12px;
  margin-left: 5px;
  margin-right: 5px;
  border-radius: 0.1rem;
  color: #fa2c19;
}
.j-rec-list .j-rec-item .j-rec-product-info span:nth-child(3) {
  display: block;
  position: absolute;
  top: 0.07rem;
  right: -0.2rem;
  text-align: center;
  color: gray;
  font-size: 0.5rem;
  height: 0.7rem;
  padding: 0 0.5em;
  background-color: #f0f2f5;
  border-radius: 0.55rem;
  border-top-right-radius: 0;
}
